<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>提示</title>
</head>
<body>
	<%
		String alert = (String)session.getAttribute("alert");
		if (alert == null) response.sendRedirect("index.jsp");
		
		String alertGoto = (String)session.getAttribute("alertGoto");
		if (alertGoto == null) alertGoto = "index.jsp";
		
		String color = (String)session.getAttribute("alertColor");
		if (color == null) color = "red";
		session.removeAttribute("alert");
		session.removeAttribute("alertGoto");
		session.removeAttribute("alertColor");
	%>
	<h1><font color='<%=color%>'><%=alert%></font></h1>
	<a href="<%=alertGoto%>">点我返回</a>
</body>
</html>